﻿<%@ Page Theme="POSSystem" Title="Edit Purchase Details" Language="C#" MasterPageFile="~/EditPages/Popup.Master" AutoEventWireup="true" CodeBehind="EditPurchaseDetails.aspx.cs" Inherits="WebUI.EditPages.EditPurchaseDetails" %>
<%@ Register Src="~/Controls/POSControls/EditPurchaseDetailsCtrl.ascx" TagName="EditPurchaseDetails" TagPrefix="uc" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PopupHeadHolder" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PopupToolbarHolder" runat="server">
    <table class="popuptoolbar" width="100%">
        <tr>
            <td style="vertical-align:middle; text-align:left">
                <asp:LinkButton class="tbbutton" ID="btnSave" runat="server" OnClick="btnSave_OnClick">
                    <img src="../Images/save.gif" /><asp:Label ID="label1" runat="server" Text=" Save"></asp:Label>
                </asp:LinkButton> 
                <asp:LinkButton class="tbbutton" ID="btnSaveClose" runat="server" OnClick="btnSaveAndClose_OnClick">
                    <img src="../Images/tb_SaveAndClose.gif" /><asp:Label ID="label2" runat="server" Text=" Save and Close"></asp:Label>
                </asp:LinkButton> 
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PopupContentHolder" runat="server">
    <div style="margin-left:90px;">
        <uc:EditPurchaseDetails ID="editPODetails" runat="server" />
    </div>
    <div style="margin-left:15px;">
        <hr />
        <asp:Label class='labelNote' ID="lblNote" runat="server" > 
            (*): Shortcut to update product cost in the system. It will affect the product cost from now on.
        </asp:Label>
    </div>
</asp:Content>
